3.6.20 \(\int \coth ^4(c+d x) (a+b \sinh ^2(c+d x))^p \, dx\) [520]

Optimal. Leaf size=103 \[ -\frac {F_1\left (-\frac {3}{2};-\frac {3}{2},-p;-\frac {1}{2};-\sinh ^2(c+d x),-\frac {b \sinh ^2(c+d x)}{a}\right ) \sqrt {\cosh ^2(c+d x)} \text {csch}^3(c+d x) \text {sech}(c+d x) \left (a+b \sinh ^2(c+d x)\right )^p \left (1+\frac {b \sinh ^2(c+d x)}{a}\right )^{-p}}{3 d} \]

[Out]

-1/3*AppellF1(-3/2,-3/2,-p,-1/2,-sinh(d*x+c)^2,-b*sinh(d*x+c)^2/a)*csch(d*x+c)^3*sech(d*x+c)*(a+b*sinh(d*x+c)^
2)^p*(cosh(d*x+c)^2)^(1/2)/d/((1+b*sinh(d*x+c)^2/a)^p)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {3275, 525, 524} \begin {gather*} -\frac {\sqrt {\cosh ^2(c+d x)} \text {csch}^3(c+d x) \text {sech}(c+d x) \left (a+b \sinh ^2(c+d x)\right )^p \left (\frac {b \sinh ^2(c+d x)}{a}+1\right )^{-p} F_1\left (-\frac {3}{2};-\frac {3}{2},-p;-\frac {1}{2};-\sinh ^2(c+d x),-\frac {b \sinh ^2(c+d x)}{a}\right )}{3 d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Coth[c + d*x]^4*(a + b*Sinh[c + d*x]^2)^p,x]

[Out]

-1/3*(AppellF1[-3/2, -3/2, -p, -1/2, -Sinh[c + d*x]^2, -((b*Sinh[c + d*x]^2)/a)]*Sqrt[Cosh[c + d*x]^2]*Csch[c
+ d*x]^3*Sech[c + d*x]*(a + b*Sinh[c + d*x]^2)^p)/(d*(1 + (b*Sinh[c + d*x]^2)/a)^p)

Rule 524

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[a^p*c^q*
((e*x)^(m + 1)/(e*(m + 1)))*AppellF1[(m + 1)/n, -p, -q, 1 + (m + 1)/n, (-b)*(x^n/a), (-d)*(x^n/c)], x] /; Free
Q[{a, b, c, d, e, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, n - 1] && (IntegerQ[p] || GtQ[a
, 0]) && (IntegerQ[q] || GtQ[c, 0])

Rule 525

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Dist[a^IntPar
t[p]*((a + b*x^n)^FracPart[p]/(1 + b*(x^n/a))^FracPart[p]), Int[(e*x)^m*(1 + b*(x^n/a))^p*(c + d*x^n)^q, x], x
] /; FreeQ[{a, b, c, d, e, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, n - 1] &&  !(IntegerQ[
p] || GtQ[a, 0])

Rule 3275

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_.)*tan[(e_.) + (f_.)*(x_)]^(m_), x_Symbol] :> With[{ff = FreeF
actors[Sin[e + f*x], x]}, Dist[ff^(m + 1)*(Sqrt[Cos[e + f*x]^2]/(f*Cos[e + f*x])), Subst[Int[x^m*((a + b*ff^2*
x^2)^p/(1 - ff^2*x^2)^((m + 1)/2)), x], x, Sin[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[m/2]
 &&  !IntegerQ[p]

Rubi steps

\begin {align*} \int \coth ^4(c+d x) \left (a+b \sinh ^2(c+d x)\right )^p \, dx &=\frac {\left (\sqrt {\cosh ^2(c+d x)} \text {sech}(c+d x)\right ) \text {Subst}\left (\int \frac {\left (1+x^2\right )^{3/2} \left (a+b x^2\right )^p}{x^4} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac {\left (\sqrt {\cosh ^2(c+d x)} \text {sech}(c+d x) \left (a+b \sinh ^2(c+d x)\right )^p \left (1+\frac {b \sinh ^2(c+d x)}{a}\right )^{-p}\right ) \text {Subst}\left (\int \frac {\left (1+x^2\right )^{3/2} \left (1+\frac {b x^2}{a}\right )^p}{x^4} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=-\frac {F_1\left (-\frac {3}{2};-\frac {3}{2},-p;-\frac {1}{2};-\sinh ^2(c+d x),-\frac {b \sinh ^2(c+d x)}{a}\right ) \sqrt {\cosh ^2(c+d x)} \text {csch}^3(c+d x) \text {sech}(c+d x) \left (a+b \sinh ^2(c+d x)\right )^p \left (1+\frac {b \sinh ^2(c+d x)}{a}\right )^{-p}}{3 d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]
time = 23.97, size = 0, normalized size = 0.00 \begin {gather*} \int \coth ^4(c+d x) \left (a+b \sinh ^2(c+d x)\right )^p \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[Coth[c + d*x]^4*(a + b*Sinh[c + d*x]^2)^p,x]

[Out]

Integrate[Coth[c + d*x]^4*(a + b*Sinh[c + d*x]^2)^p, x]

________________________________________________________________________________________

Maple [F]
time = 1.43, size = 0, normalized size = 0.00 \[\int \left (\coth ^{4}\left (d x +c \right )\right ) \left (a +b \left (\sinh ^{2}\left (d x +c \right )\right )\right )^{p}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(coth(d*x+c)^4*(a+b*sinh(d*x+c)^2)^p,x)

[Out]

int(coth(d*x+c)^4*(a+b*sinh(d*x+c)^2)^p,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(d*x+c)^4*(a+b*sinh(d*x+c)^2)^p,x, algorithm="maxima")

[Out]

integrate((b*sinh(d*x + c)^2 + a)^p*coth(d*x + c)^4, x)

________________________________________________________________________________________

Fricas [F]
time = 0.43, size = 25, normalized size = 0.24 \begin {gather*} {\rm integral}\left ({\left (b \sinh \left (d x + c\right )^{2} + a\right )}^{p} \coth \left (d x + c\right )^{4}, x\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(d*x+c)^4*(a+b*sinh(d*x+c)^2)^p,x, algorithm="fricas")

[Out]

integral((b*sinh(d*x + c)^2 + a)^p*coth(d*x + c)^4, x)

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(d*x+c)**4*(a+b*sinh(d*x+c)**2)**p,x)

[Out]

Exception raised: SystemError >> excessive stack use: stack is 3005 deep

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(coth(d*x+c)^4*(a+b*sinh(d*x+c)^2)^p,x, algorithm="giac")

[Out]

integrate((b*sinh(d*x + c)^2 + a)^p*coth(d*x + c)^4, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {coth}\left (c+d\,x\right )}^4\,{\left (b\,{\mathrm {sinh}\left (c+d\,x\right )}^2+a\right )}^p \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(coth(c + d*x)^4*(a + b*sinh(c + d*x)^2)^p,x)

[Out]

int(coth(c + d*x)^4*(a + b*sinh(c + d*x)^2)^p, x)

________________________________________________________________________________________